package coolapk.cj.cj.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import coolapk.cj.cj.entity.Goods;

import java.util.List;

/**
 * @author wenjunjun9
 * @created 2021-02-16 18:49
 * @description
 */
public interface GoodsService extends IService<Goods> {

    void addOrUpdateGoods(Goods goods);

    void deleteGoods(String id);

    IPage<Goods> pageQuery(Page<Goods> page);

    IPage<Goods> pageWinner(Page<Goods> page);

    List<Goods> queryCurrentGoods();
}
